<?php

namespace Payment\Common\SwThree\Data;
use Payment\Common\PayException;


/**
 * Class BackScanChargeData
 *
 *
 * @package Payment\Common\Sw\Data
 *
 */
class BackScanChargeData extends SwBaseData
{
    public function getData()
    {
        $this->retData['qr_code'] = $this->qr_code;//二维码码串
        $this->retData['other'] = [
            'pay_type' => $this->pay_type,
            'merchant_name' => $this->merchant_name,
            'merchant_no' => $this->merchant_no,
            'terminal_id' => $this->terminal_id,
            'terminal_trace'=> $this->terminal_trace,
            'terminal_time' => $this->terminal_time,
            'total_fee' => $this->total_fee,
            'out_trade_no' => $this->out_trade_no
        ];

        return parent::getData(); // TODO: Change the autogenerated stub
    }


    protected function buildData()
    {

    }

    protected function checkDataParam()
    {
        // 对于返回数据不做检查检查
    }
}
